'use strict';
const db = uniCloud.database()
const dbCmd = db.command
const collection = db.collection('jiayi-content')
exports.main = async (event, context) => {
	const res = await collection.where({both_openid: dbCmd.eq(event.a).and(dbCmd.eq(event.b))}).update(event.c)
	//返回数据给客户端
	return res
};
